import request from '@/utils/request'

// 查询VIEW列表
export function listMydraftEntity(query) {
  return request({
    url: '/oa/mydraft/list',
    method: 'get',
    params: query
  })
}

// 查询VIEW详细
export function getMydraftEntity(subject) {
  return request({
    url: '/oa/mydraft/' + subject,
    method: 'get'
  })
}

// 导出VIEW
export function exportMydraftEntity(query) {
  return request({
    url: '/common/mydraftEntity/export',
    method: 'get',
    params: query
  })
}